package org.nlp2rdf.navigator.server.tiger;


public class Sentence {

	public int sentenceId;
	public String sentenceString;
	public String uri;
	
	public Sentence(String sentenceString, String uri) {
		super();
		this.sentenceString = sentenceString;
		this.uri = uri;
		this.sentenceId = Config.getSentenceId(Config.prefix, uri);
		
	}
	
	public boolean equals(Sentence s){
		return this.uri.equals(s.uri);
	}
	
	
	
	public int getSentenceId() {
		return sentenceId;
	}

	public String getSentenceString() {
		return sentenceString;
	}

	public String getUri() {
		return uri;
	}

	@Override
	public String toString(){
		return uri+" "+sentenceString;
	}
}
